function loadRawAjaxContent( source, destination )
{
	var contentHolder = document.getElementById(destination);
	
	$.ajax(
	{
		url: source,
		cache: false,
		success:
			function( data )
			{
				contentHolder.innerHTML = data;
			}
		}
	);
}

function loadLoginContent()
{
	var f = document.getElementById('formLogin' );
	if( f )
	{
		f.reset();
		return false;
	}
	loadRawAjaxContent( 'FormLogin.aspx', 'content_left' );
	return false;
}

function loadRegisterContent()
{
	var f = document.getElementById('formRegister' );
	if( f )
	{
		f.reset();
		return false;
	}
	loadRawAjaxContent( 'formRegister.aspx', 'content_left' );
	return false;
}